package com.pingancar.creditmanage.pojo;

import javax.persistence.*;
import java.sql.Timestamp;

/**
 * Created by SilverStone-WW on 2015/2/15.
 */
public class InsurancePojo {
    private int id;
    private String name;
    private String carno;
    private Timestamp starttime;
    private Timestamp endtime;
    private double fee;
    private int credit;
    private UserPojo user;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getCarno() {
        return carno;
    }

    public void setCarno(String carno) {
        this.carno = carno;
    }

    public Timestamp getStarttime() {
        return starttime;
    }

    public void setStarttime(Timestamp starttime) {
        this.starttime = starttime;
    }

    public Timestamp getEndtime() {
        return endtime;
    }

    public void setEndtime(Timestamp endtime) {
        this.endtime = endtime;
    }

    public double getFee() {
        return fee;
    }

    public void setFee(double fee) {
        this.fee = fee;
    }

    public int getCredit() {
        return credit;
    }

    public void setCredit(int credit) {
        this.credit = credit;
    }

    public UserPojo getUser() {
        return user;
    }

    public void setUser(UserPojo userPojo) {
        this.user = userPojo;
    }
}
